package com.ruoyi.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseDomain;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房型设置对象 hotel_house_type
 *
 * @author sunye
 * @date 2024-11-15
 */
@Data
public class HotelHouseType extends BaseDomain
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value ="house_type_id", type = IdType.AUTO)
    private Long houseTypeId;

    @ApiModelProperty(value = "房型名称")
    @Excel(name = "房型名称")
    private String houseTypeName;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseTypeId", getHouseTypeId())
            .append("houseTypeName", getHouseTypeName())
            .append("delFlag", getDelFlag())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
